﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Restaurant
{
    class Menuitem
    {
        public Image itemPic;//菜谱图片
        public string itemName;//菜谱名字
        public int itemNum;//菜谱编号
        public double itemPrice;//菜谱价格

        public Menuitem(string name,int num,double pri)
        {
            this.itemName = name;
            this.itemNum = num;
            this.itemPrice = pri;
        }

        public void set_itemName(string name)
        {
            this.itemName = name;
        }

        public void set_itemNum(int num)
        {
            this.itemNum = num;
        }

        public void set_itemPrice(double  pri)
        {
            this.itemPrice = pri;
        }

        public void set_itemPic(Image pic)
        {
            this.itemPic = pic;
        }

        public Image get_itemPic()
        {
            return this.itemPic;
        }
        public string get_itemName()
        {
            return this.itemName;
        }
        public int get_itemNum()
        {
            return this.itemNum;
        }
        public double get_itemPrice()
        {
            return this.itemPrice;
        }


    }
}
